<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>cresample: Cresample_v4_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cresample
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Cresample_v4_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_cresample___config.html">XCresample_Config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_cresample.html">XCresample</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_horizontal___coeffs.html">XHorizontal_Coeffs</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vertical___coeffs.html">XVertical_Coeffs</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga3959dfbfb1df910ec834a2822f80ddb5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga3959dfbfb1df910ec834a2822f80ddb5">XCresample_Enable</a>(InstancePtr)</td></tr>
<tr class="separator:ga3959dfbfb1df910ec834a2822f80ddb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga538198323ff4ebdaad13c9dbd18a2c48"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga538198323ff4ebdaad13c9dbd18a2c48">XCresample_Disable</a>(InstancePtr)</td></tr>
<tr class="separator:ga538198323ff4ebdaad13c9dbd18a2c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga862c5f4fbabe14d1e123362c96338d79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga862c5f4fbabe14d1e123362c96338d79">XCresample_Start</a>&#160;&#160;&#160;<a class="el" href="group__cresample__v4__0.html#ga3959dfbfb1df910ec834a2822f80ddb5">XCresample_Enable</a></td></tr>
<tr class="separator:ga862c5f4fbabe14d1e123362c96338d79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf714ddac2ad4276bc638c1ab7aacb68"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gaaf714ddac2ad4276bc638c1ab7aacb68">XCresample_Stop</a>&#160;&#160;&#160;<a class="el" href="group__cresample__v4__0.html#ga538198323ff4ebdaad13c9dbd18a2c48">XCresample_Disable</a></td></tr>
<tr class="separator:gaaf714ddac2ad4276bc638c1ab7aacb68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd46d2225bcce47d5fa206321bb8cab4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gadd46d2225bcce47d5fa206321bb8cab4">XCresample_RegUpdateEnable</a>(InstancePtr)</td></tr>
<tr class="separator:gadd46d2225bcce47d5fa206321bb8cab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga270b9455b25b2c28fc69609cc5c448d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga270b9455b25b2c28fc69609cc5c448d8">XCresample_RegUpdateDisable</a>(InstancePtr)</td></tr>
<tr class="separator:ga270b9455b25b2c28fc69609cc5c448d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56d3a5b5c6a70eaba4a4bcb1bd9d5cb7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga56d3a5b5c6a70eaba4a4bcb1bd9d5cb7">XCresample_SyncReset</a>(InstancePtr)</td></tr>
<tr class="separator:ga56d3a5b5c6a70eaba4a4bcb1bd9d5cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98346f522e3aed9eb5b6e7c09416cdd7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga98346f522e3aed9eb5b6e7c09416cdd7">XCresample_Reset</a>(InstancePtr)</td></tr>
<tr class="separator:ga98346f522e3aed9eb5b6e7c09416cdd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4dd2462144560958335ae4f3ca6980e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga4dd2462144560958335ae4f3ca6980e4">XCresample_IntrEnable</a>(InstancePtr,  IntrType)</td></tr>
<tr class="separator:ga4dd2462144560958335ae4f3ca6980e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6cab4f4644f86807a3ff1c38057fb75"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gaf6cab4f4644f86807a3ff1c38057fb75">XCresample_IntrDisable</a>(InstancePtr,  IntrType)</td></tr>
<tr class="separator:gaf6cab4f4644f86807a3ff1c38057fb75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d1cb2f8998ad720729b08fe8f927a51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga4d1cb2f8998ad720729b08fe8f927a51">XCresample_StatusGetPending</a>(InstancePtr)</td></tr>
<tr class="separator:ga4d1cb2f8998ad720729b08fe8f927a51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34d7b704fc70030c94820f5c59c764e3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga34d7b704fc70030c94820f5c59c764e3">XCresample_IntrGetPending</a>(InstancePtr)</td></tr>
<tr class="separator:ga34d7b704fc70030c94820f5c59c764e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3f4748686f455f741ad19935ab5ac26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gaf3f4748686f455f741ad19935ab5ac26">XCresample_IntrClear</a>(InstancePtr,  IntrType)</td></tr>
<tr class="separator:gaf3f4748686f455f741ad19935ab5ac26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga7d7c3bce02df7ccfa9590e00f6f34cc9"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga7d7c3bce02df7ccfa9590e00f6f34cc9">XCresample_CallBack</a>) (void *CallBackRef)</td></tr>
<tr class="separator:ga7d7c3bce02df7ccfa9590e00f6f34cc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bad0286c80d574d2aec5491177ed40d"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga9bad0286c80d574d2aec5491177ed40d">XCresample_ErrorCallBack</a>) (void *CallBackRef, u32 ErrorMask)</td></tr>
<tr class="separator:ga9bad0286c80d574d2aec5491177ed40d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga386a0f9c22e6409060fd966a66d8aa66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga386a0f9c22e6409060fd966a66d8aa66">XCresample_CfgInitialize</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, <a class="el" href="struct_x_cresample___config.html">XCresample_Config</a> *CfgPtr, u32 EffectiveAddr)</td></tr>
<tr class="separator:ga386a0f9c22e6409060fd966a66d8aa66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga930ea9583c5dd76de763fae86d6b1eff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga930ea9583c5dd76de763fae86d6b1eff">XCresample_EnableDbgByPass</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga930ea9583c5dd76de763fae86d6b1eff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8267377a15da7e199a393c47baf42e1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gae8267377a15da7e199a393c47baf42e1">XCresample_IsDbgByPassEnabled</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:gae8267377a15da7e199a393c47baf42e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac15c402d317aea7dbcdabdae1c6d8e6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gac15c402d317aea7dbcdabdae1c6d8e6c">XCresample_DisableDbgBypass</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:gac15c402d317aea7dbcdabdae1c6d8e6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga32b603c19c2afaee47a70dde41fdcaa1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga32b603c19c2afaee47a70dde41fdcaa1">XCresample_EnableDbgTestPattern</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga32b603c19c2afaee47a70dde41fdcaa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8fb855ff8ece1b628d69f9cd0eebd5a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gae8fb855ff8ece1b628d69f9cd0eebd5a">XCresample_IsDbgTestPatternEnabled</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:gae8fb855ff8ece1b628d69f9cd0eebd5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f6adeb2af84970d6d20a70be30169dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga1f6adeb2af84970d6d20a70be30169dd">XCresample_DisableDbgTestPattern</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga1f6adeb2af84970d6d20a70be30169dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga759917fbb8599a22fdfe5619ce13a3b2"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga759917fbb8599a22fdfe5619ce13a3b2">XCresample_GetVersion</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga759917fbb8599a22fdfe5619ce13a3b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4f2fab7cafe12c0dd55b63f8a4f9bb2"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gab4f2fab7cafe12c0dd55b63f8a4f9bb2">XCresample_GetDbgFrameCount</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:gab4f2fab7cafe12c0dd55b63f8a4f9bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81ee6e5159f9173134f5203f079c19d6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga81ee6e5159f9173134f5203f079c19d6">XCresample_GetDbgLineCount</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga81ee6e5159f9173134f5203f079c19d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadae07783fcaf65425e70d97648cbf04e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gadae07783fcaf65425e70d97648cbf04e">XCresample_GetDbgPixelCount</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:gadae07783fcaf65425e70d97648cbf04e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa92fd02ee15f7f102dde33a7b2d904d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gaa92fd02ee15f7f102dde33a7b2d904d3">XCresample_SetActiveSize</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, u16 HSize, u16 VSize)</td></tr>
<tr class="separator:gaa92fd02ee15f7f102dde33a7b2d904d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8b448647610e20e45f560ed50465d15"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gad8b448647610e20e45f560ed50465d15">XCresample_GetActiveSize</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, u16 *HSize, u16 *VSize)</td></tr>
<tr class="separator:gad8b448647610e20e45f560ed50465d15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf88e4da9bfb514e7f31550e4763b5ff1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gaf88e4da9bfb514e7f31550e4763b5ff1">XCresample_SetFieldParity</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, u8 FieldParity)</td></tr>
<tr class="separator:gaf88e4da9bfb514e7f31550e4763b5ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3033cdcbecf61fea37bc9b1795636bf7"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga3033cdcbecf61fea37bc9b1795636bf7">XCresample_GetFieldParity</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga3033cdcbecf61fea37bc9b1795636bf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81bd9651d3634a4f93adc0c9aa377bd4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga81bd9651d3634a4f93adc0c9aa377bd4">XCresample_SetChromaParity</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, u8 ChromaParity)</td></tr>
<tr class="separator:ga81bd9651d3634a4f93adc0c9aa377bd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2871e4a4446a101e00ace372810342ce"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga2871e4a4446a101e00ace372810342ce">XCresample_GetChromaParity</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga2871e4a4446a101e00ace372810342ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe19dfb901944a21c9318301322075e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gafe19dfb901944a21c9318301322075e6">XCresample_SetHCoefs</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, <a class="el" href="struct_x_horizontal___coeffs.html">XHorizontal_Coeffs</a> *Coeff, u32 Phases)</td></tr>
<tr class="separator:gafe19dfb901944a21c9318301322075e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga676b8cfd788ad69cd9c622e2a4953bed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga676b8cfd788ad69cd9c622e2a4953bed">XCresample_GetHCoefs</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, <a class="el" href="struct_x_horizontal___coeffs.html">XHorizontal_Coeffs</a> *Coeff)</td></tr>
<tr class="separator:ga676b8cfd788ad69cd9c622e2a4953bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5f9ac7e61cd69dd5843a4a95eff0ba21"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga5f9ac7e61cd69dd5843a4a95eff0ba21">XCresample_SetVCoefs</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, <a class="el" href="struct_x_vertical___coeffs.html">XVertical_Coeffs</a> *Coeff, u32 Phases)</td></tr>
<tr class="separator:ga5f9ac7e61cd69dd5843a4a95eff0ba21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81bd4ca76afc9607d8cc69afeb957b5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga81bd4ca76afc9607d8cc69afeb957b5f">XCresample_GetVCoefs</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, <a class="el" href="struct_x_vertical___coeffs.html">XVertical_Coeffs</a> *Coeff)</td></tr>
<tr class="separator:ga81bd4ca76afc9607d8cc69afeb957b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d749808d07e3987e21fb3ec7b54c3a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga1d749808d07e3987e21fb3ec7b54c3a2">XCresample_Clear_HCoef_Values</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga1d749808d07e3987e21fb3ec7b54c3a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3c15e9a7607730c4d6bab0bff8af610"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gad3c15e9a7607730c4d6bab0bff8af610">XCresample_Clear_VCoef_Values</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:gad3c15e9a7607730c4d6bab0bff8af610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gababb2eeaa2d4fd6eaa6941c547c1698d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_cresample___config.html">XCresample_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gababb2eeaa2d4fd6eaa6941c547c1698d">XCresample_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="separator:gababb2eeaa2d4fd6eaa6941c547c1698d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga120e094a3de7a49d4b5e3808ad7fadd2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#ga120e094a3de7a49d4b5e3808ad7fadd2">XCresample_SelfTest</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr)</td></tr>
<tr class="separator:ga120e094a3de7a49d4b5e3808ad7fadd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0eaff626a3784bde0d6ac0b9e168992"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gab0eaff626a3784bde0d6ac0b9e168992">XCresample_SetCallBack</a> (<a class="el" href="struct_x_cresample.html">XCresample</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="separator:gab0eaff626a3784bde0d6ac0b9e168992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3db1c393abaf5003a47b95c7399d1b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cresample__v4__0.html#gad3db1c393abaf5003a47b95c7399d1b7">XCresample_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="separator:gad3db1c393abaf5003a47b95c7399d1b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gaf63af0982f1bd962ac5a312b828c8721"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_ACT_SIZE_FIRST&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Active Size starting value. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gaa92fd02ee15f7f102dde33a7b2d904d3">XCresample_SetActiveSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga136d63a0178f60dde5ddac0364937cf4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_ACT_SIZE_LAST&#160;&#160;&#160;7680</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Active Size ending value. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gaa92fd02ee15f7f102dde33a7b2d904d3">XCresample_SetActiveSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2fabb0e08576485f3f54cd1f4531024a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_ACTIVE_SIZE_OFFSET&#160;&#160;&#160;0x0020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Horizontal and vertical active frame size. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gad8b448647610e20e45f560ed50465d15">XCresample_GetActiveSize()</a>, and <a class="el" href="group__cresample__v4__0.html#gaa92fd02ee15f7f102dde33a7b2d904d3">XCresample_SetActiveSize()</a>.</p>

</div>
</div>
<a class="anchor" id="gab08648fa4329ccb2f1f792c049d0d96e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF00_HPHASE0_OFFSET&#160;&#160;&#160;0x0100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 00 of horizontal phase 0 filter. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga1d749808d07e3987e21fb3ec7b54c3a2">XCresample_Clear_HCoef_Values()</a>, <a class="el" href="group__cresample__v4__0.html#ga676b8cfd788ad69cd9c622e2a4953bed">XCresample_GetHCoefs()</a>, and <a class="el" href="group__cresample__v4__0.html#gafe19dfb901944a21c9318301322075e6">XCresample_SetHCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1ad7438e92fb57b98c26f50645a9575f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF00_HPHASE1_OFFSET&#160;&#160;&#160;0x0160</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 00 of horizontal phase 1 filter. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gafe19dfb901944a21c9318301322075e6">XCresample_SetHCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7c618712800d861c59fb9deefd45a2b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF00_VPHASE0_OFFSET&#160;&#160;&#160;0x01C0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 00 of vertical phase 0 filter. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gad3c15e9a7607730c4d6bab0bff8af610">XCresample_Clear_VCoef_Values()</a>, <a class="el" href="group__cresample__v4__0.html#ga81bd4ca76afc9607d8cc69afeb957b5f">XCresample_GetVCoefs()</a>, and <a class="el" href="group__cresample__v4__0.html#ga5f9ac7e61cd69dd5843a4a95eff0ba21">XCresample_SetVCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga86669b482b630a76ab12288e10cf14a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF00_VPHASE1_OFFSET&#160;&#160;&#160;0x01E0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 00 of vertical phase 1 filter. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga5f9ac7e61cd69dd5843a4a95eff0ba21">XCresample_SetVCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf45ea16c39ab86263617c9f72733a5ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF01_HPHASE0_OFFSET&#160;&#160;&#160;0x0104</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 01 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga8f48d6fb21b46e73c7af5a0b9c01e155"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF01_HPHASE1_OFFSET&#160;&#160;&#160;0x0164</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 01 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaac06a91cdd2b2a82b72724082d82b42b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF01_VPHASE0_OFFSET&#160;&#160;&#160;0x01C4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 01 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga931197646d822c764861df2776be0167"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF01_VPHASE1_OFFSET&#160;&#160;&#160;0x01E4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 01 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gae1c4e8aa886cb44126fb45f54d4d2561"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF02_HPHASE0_OFFSET&#160;&#160;&#160;0x0108</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 02 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gafaf168f142154b67616c59cf9827becb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF02_HPHASE1_OFFSET&#160;&#160;&#160;0x0168</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 02 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gae68fe139eec3456e8436d45d375f93fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF02_VPHASE0_OFFSET&#160;&#160;&#160;0x01C8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 02 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga95a3917c8d4a42c3d6b899644f339450"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF02_VPHASE1_OFFSET&#160;&#160;&#160;0x01E8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 02 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaa661ff07f1c20ab1839c9a85fca60571"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF03_HPHASE0_OFFSET&#160;&#160;&#160;0x010C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 03 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga34b5d6d0f4bb4d418788b19e5bda0a72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF03_HPHASE1_OFFSET&#160;&#160;&#160;0x016C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 03 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga61fe2e129ee73467a333bde971a09ab1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF03_VPHASE0_OFFSET&#160;&#160;&#160;0x01CC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 03 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga40dd8790c5c98b49c7e432800abcbe6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF03_VPHASE1_OFFSET&#160;&#160;&#160;0x01EC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 03 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gafdc160496035e2d1c64e1f6855356681"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF04_HPHASE0_OFFSET&#160;&#160;&#160;0x0110</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 04 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga9d7be6ce93a5d3f38132fff3a3993398"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF04_HPHASE1_OFFSET&#160;&#160;&#160;0x0170</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 04 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga960e2dce62f01924ee5a8082ba5a77f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF04_VPHASE0_OFFSET&#160;&#160;&#160;0x01D0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 04 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaf0698f4c5311e2f9147c38905433bb66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF04_VPHASE1_OFFSET&#160;&#160;&#160;0x01F0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 04 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga02e0f97aa30b4805922757f17e0b12cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF05_HPHASE0_OFFSET&#160;&#160;&#160;0x0114</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 05 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaac9a0d2f1f791b58c0318170c9ff19c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF05_HPHASE1_OFFSET&#160;&#160;&#160;0x0174</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 05 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga7adb9cc708f775c981b14d40fe66f017"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF05_VPHASE0_OFFSET&#160;&#160;&#160;0x01D4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 05 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga10536f6834892f85f8f93059b4277a4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF05_VPHASE1_OFFSET&#160;&#160;&#160;0x01F4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 05 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga9a56ac84b8403ceece66d68623c3a091"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF06_HPHASE0_OFFSET&#160;&#160;&#160;0x0118</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 06 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gabde07b24b8a06faaa6afea4babf96cb4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF06_HPHASE1_OFFSET&#160;&#160;&#160;0x0178</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 06 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gabbeced8c7f115327ee61a961cfa80b72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF06_VPHASE0_OFFSET&#160;&#160;&#160;0x01D8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 06 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga20b5afe016e5879356b7e613c2fa4949"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF06_VPHASE1_OFFSET&#160;&#160;&#160;0x01F8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 06 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga95a23cf13a13e9186541d1aaaae78966"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF07_HPHASE0_OFFSET&#160;&#160;&#160;0x011C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 07 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga39f483d811bfae7e47a81bcba344bc5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF07_HPHASE1_OFFSET&#160;&#160;&#160;0x017C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 07 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gacc053ddb351745bde479c15eaa65ef3c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF07_VPHASE0_OFFSET&#160;&#160;&#160;0x01DC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 07 of vertical phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga101e8262084e88b2f8f7cff884fe06b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF07_VPHASE1_OFFSET&#160;&#160;&#160;0x01FC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 07 of vertical phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga06bd5b0189a2bfc254383e64e1b1ba70"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF08_HPHASE0_OFFSET&#160;&#160;&#160;0x0120</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 08 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gab810d46329c8e8f94477fac3928f7bfe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF08_HPHASE1_OFFSET&#160;&#160;&#160;0x0180</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 08 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga45c917cbe5b9acdc47758738a71d08f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF09_HPHASE0_OFFSET&#160;&#160;&#160;0x0124</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 09 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaf66dbe711e5a3bd1287fa19424151734"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF09_HPHASE1_OFFSET&#160;&#160;&#160;0x0184</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 09 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga327a4b079f7630c0efc499590035d2f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF10_HPHASE0_OFFSET&#160;&#160;&#160;0x0128</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 10 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga3981c2527addc4d02d56f31fd29672ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF10_HPHASE1_OFFSET&#160;&#160;&#160;0x0188</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 10 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga7ccae86cacb8f7938a000ef7b2b340b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF11_HPHASE0_OFFSET&#160;&#160;&#160;0x012C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 11 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaad22ec3304706b2f7bd65477092dcc48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF11_HPHASE1_OFFSET&#160;&#160;&#160;0x018C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 11 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaadd607ad747e8eced4dfa42c24f1b210"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF12_HPHASE0_OFFSET&#160;&#160;&#160;0x0130</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 12 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gab3a93fd8d3b70b689aef9cb68b186dcb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF12_HPHASE1_OFFSET&#160;&#160;&#160;0x0190</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 12 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga14577474f7d7dea3726b0bd3bdcaaa8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF13_HPHASE0_OFFSET&#160;&#160;&#160;0x0134</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 13 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga7658dbc810aa4b13f63121f26dc44ab2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF13_HPHASE1_OFFSET&#160;&#160;&#160;0x0194</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 13 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaeaf0e4311f3cec9a4dbfd4d0223d0bfd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF14_HPHASE0_OFFSET&#160;&#160;&#160;0x0138</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 14 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gae79641e31df71116fc605d5386a18df2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF14_HPHASE1_OFFSET&#160;&#160;&#160;0x0198</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 14 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gac849fad3963b4ccdb4df399ce89a0676"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF15_HPHASE0_OFFSET&#160;&#160;&#160;0x013C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 15 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga0c62d9914671287c36bf1da711dc391d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF15_HPHASE1_OFFSET&#160;&#160;&#160;0x019C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 15 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaed4c2f3e422cff8544d123b1f6c7d65d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF16_HPHASE0_OFFSET&#160;&#160;&#160;0x0140</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 16 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga3b47a1512cdb344615d915c6a453e882"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF16_HPHASE1_OFFSET&#160;&#160;&#160;0x01A0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 16 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaf6ed3d2863457dc989f43b7a30be104c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF17_HPHASE0_OFFSET&#160;&#160;&#160;0x0144</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 17 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaaa62506d1e68b6f634d343a485b8f3fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF17_HPHASE1_OFFSET&#160;&#160;&#160;0x01A4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 17 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga046c61c31ee39d736055df51e19e2938"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF18_HPHASE0_OFFSET&#160;&#160;&#160;0x0148</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 18 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga801129c4f1f57a1ab118bc0e51bd9bf4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF18_HPHASE1_OFFSET&#160;&#160;&#160;0x01A8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 18 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga106e8fddab9ff751602884fbd58f9332"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF19_HPHASE0_OFFSET&#160;&#160;&#160;0x014C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 19 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga96f0a8dded48e008b0661bd45dffe388"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF19_HPHASE1_OFFSET&#160;&#160;&#160;0x01AC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 19 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga98e024bc3a1c98c73e7858fcba25d8bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF20_HPHASE0_OFFSET&#160;&#160;&#160;0x0150</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 20 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gacf7cb29773e11a645b50a551279a5bf5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF20_HPHASE1_OFFSET&#160;&#160;&#160;0x01B0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 20 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga0f9df4d920cc235338a1acd1f452ba8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF21_HPHASE0_OFFSET&#160;&#160;&#160;0x0154</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 21 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaa49389e2a7506c092f1e21fc34001360"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF21_HPHASE1_OFFSET&#160;&#160;&#160;0x01B4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 21 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="gaf80e94e18e368f0120b46986f9dfdad9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF22_HPHASE0_OFFSET&#160;&#160;&#160;0x0158</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 22 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="ga7270ab4cf94edeed371f32494e8c99d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF22_HPHASE1_OFFSET&#160;&#160;&#160;0x01B8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 22 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga43f073717f0cd43bf75b3f51f927307f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF23_HPHASE0_OFFSET&#160;&#160;&#160;0x015C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 23 of horizontal phase 0 filter. </p>

</div>
</div>
<a class="anchor" id="gaae4cbb76dfe9b462d729aea1f24b172c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF23_HPHASE1_OFFSET&#160;&#160;&#160;0x01BC</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Coefficient 23 of horizontal phase 1 filter. </p>

</div>
</div>
<a class="anchor" id="ga893c2ffc0ea9e190f79bd3e5f13f8252"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF_FIRST&#160;&#160;&#160;-2.0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Coefficient start value. </p>

</div>
</div>
<a class="anchor" id="gae176b747b4a9f942f04fd66d49588506"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_COEF_LAST&#160;&#160;&#160;2.0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Coefficient end value. </p>

</div>
</div>
<a class="anchor" id="gae36d057ec512e3bf6ad23aedeca87287"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_CONTROL_OFFSET&#160;&#160;&#160;0x0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Control. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gac15c402d317aea7dbcdabdae1c6d8e6c">XCresample_DisableDbgBypass()</a>, <a class="el" href="group__cresample__v4__0.html#ga1f6adeb2af84970d6d20a70be30169dd">XCresample_DisableDbgTestPattern()</a>, <a class="el" href="group__cresample__v4__0.html#ga930ea9583c5dd76de763fae86d6b1eff">XCresample_EnableDbgByPass()</a>, <a class="el" href="group__cresample__v4__0.html#ga32b603c19c2afaee47a70dde41fdcaa1">XCresample_EnableDbgTestPattern()</a>, <a class="el" href="group__cresample__v4__0.html#gae8267377a15da7e199a393c47baf42e1">XCresample_IsDbgByPassEnabled()</a>, and <a class="el" href="group__cresample__v4__0.html#gae8fb855ff8ece1b628d69f9cd0eebd5a">XCresample_IsDbgTestPatternEnabled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0b1a96d8791a35a4cbb98d7be3f27b5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_ENCODING_OFFSET&#160;&#160;&#160;0x0028</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Frame encoding. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga2871e4a4446a101e00ace372810342ce">XCresample_GetChromaParity()</a>, <a class="el" href="group__cresample__v4__0.html#ga3033cdcbecf61fea37bc9b1795636bf7">XCresample_GetFieldParity()</a>, <a class="el" href="group__cresample__v4__0.html#ga81bd9651d3634a4f93adc0c9aa377bd4">XCresample_SetChromaParity()</a>, and <a class="el" href="group__cresample__v4__0.html#gaf88e4da9bfb514e7f31550e4763b5ff1">XCresample_SetFieldParity()</a>.</p>

</div>
</div>
<a class="anchor" id="ga90090b9e9473a0bacec29831cd865434"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_ERROR_OFFSET&#160;&#160;&#160;0x0008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Error. </p>

</div>
</div>
<a class="anchor" id="ga18c102d15e143b84399c8795212975e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_IRQ_EN_OFFSET&#160;&#160;&#160;0x000C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>IRQ enable. </p>

</div>
</div>
<a class="anchor" id="ga9e78a3d9d7a6101968da7f61994ca07b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_NUM_HCOEFS&#160;&#160;&#160;24</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Number of horizontal coefficients. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga1d749808d07e3987e21fb3ec7b54c3a2">XCresample_Clear_HCoef_Values()</a>, and <a class="el" href="group__cresample__v4__0.html#ga676b8cfd788ad69cd9c622e2a4953bed">XCresample_GetHCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga200680a2c13a7b5fe0ebdcdd749fb529"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_NUM_OF_PHASES&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Number of phases. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga1d749808d07e3987e21fb3ec7b54c3a2">XCresample_Clear_HCoef_Values()</a>, <a class="el" href="group__cresample__v4__0.html#gad3c15e9a7607730c4d6bab0bff8af610">XCresample_Clear_VCoef_Values()</a>, <a class="el" href="group__cresample__v4__0.html#ga676b8cfd788ad69cd9c622e2a4953bed">XCresample_GetHCoefs()</a>, <a class="el" href="group__cresample__v4__0.html#ga81bd4ca76afc9607d8cc69afeb957b5f">XCresample_GetVCoefs()</a>, <a class="el" href="group__cresample__v4__0.html#gafe19dfb901944a21c9318301322075e6">XCresample_SetHCoefs()</a>, and <a class="el" href="group__cresample__v4__0.html#ga5f9ac7e61cd69dd5843a4a95eff0ba21">XCresample_SetVCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga769382097198ca3b9e289c17423f4474"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_NUM_VCOEFS&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Number of vertical coefficients. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gad3c15e9a7607730c4d6bab0bff8af610">XCresample_Clear_VCoef_Values()</a>, and <a class="el" href="group__cresample__v4__0.html#ga81bd4ca76afc9607d8cc69afeb957b5f">XCresample_GetVCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="ga130b1722acdea90f21b4b609413f045d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_OFFSET_DIFF&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Coefficient offset difference. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga1d749808d07e3987e21fb3ec7b54c3a2">XCresample_Clear_HCoef_Values()</a>, <a class="el" href="group__cresample__v4__0.html#gad3c15e9a7607730c4d6bab0bff8af610">XCresample_Clear_VCoef_Values()</a>, <a class="el" href="group__cresample__v4__0.html#ga676b8cfd788ad69cd9c622e2a4953bed">XCresample_GetHCoefs()</a>, <a class="el" href="group__cresample__v4__0.html#ga81bd4ca76afc9607d8cc69afeb957b5f">XCresample_GetVCoefs()</a>, <a class="el" href="group__cresample__v4__0.html#gafe19dfb901944a21c9318301322075e6">XCresample_SetHCoefs()</a>, and <a class="el" href="group__cresample__v4__0.html#ga5f9ac7e61cd69dd5843a4a95eff0ba21">XCresample_SetVCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="gade5ba0c5d3d48674a1353be0ef116e1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_PARITY_EVEN&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>For even (or bottom) field it is 0. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga81bd9651d3634a4f93adc0c9aa377bd4">XCresample_SetChromaParity()</a>, and <a class="el" href="group__cresample__v4__0.html#gaf88e4da9bfb514e7f31550e4763b5ff1">XCresample_SetFieldParity()</a>.</p>

</div>
</div>
<a class="anchor" id="ga494cc8b60107da468cb81b91257870c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_PARITY_ODD&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>For odd (or top) field it is 1. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga81bd9651d3634a4f93adc0c9aa377bd4">XCresample_SetChromaParity()</a>, and <a class="el" href="group__cresample__v4__0.html#gaf88e4da9bfb514e7f31550e4763b5ff1">XCresample_SetFieldParity()</a>.</p>

</div>
</div>
<a class="anchor" id="ga87730ba30704098d260a67036eaa6f01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_STATUS_OFFSET&#160;&#160;&#160;0x0004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Status. </p>

</div>
</div>
<a class="anchor" id="ga388982bb23871efe6833330f79b12a94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_SYSDEBUG0_OFFSET&#160;&#160;&#160;0x0014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>System debug 0. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gab4f2fab7cafe12c0dd55b63f8a4f9bb2">XCresample_GetDbgFrameCount()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf943cd6552984fa4ed43ecadab6035c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_SYSDEBUG1_OFFSET&#160;&#160;&#160;0x0018</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>System debug 1. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga81ee6e5159f9173134f5203f079c19d6">XCresample_GetDbgLineCount()</a>.</p>

</div>
</div>
<a class="anchor" id="ga46bc8755667307701c57d998f9bccbde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_SYSDEBUG2_OFFSET&#160;&#160;&#160;0x001C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>System debug 2. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gadae07783fcaf65425e70d97648cbf04e">XCresample_GetDbgPixelCount()</a>.</p>

</div>
</div>
<a class="anchor" id="ga50dc699fde66f657be0e8a9713f78497"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRE_VERSION_OFFSET&#160;&#160;&#160;0x0010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Version. </p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga759917fbb8599a22fdfe5619ce13a3b2">XCresample_GetVersion()</a>, and <a class="el" href="group__cresample__v4__0.html#ga120e094a3de7a49d4b5e3808ad7fadd2">XCresample_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga538198323ff4ebdaad13c9dbd18a2c48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_Disable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>))) &amp; (~(<a class="code" href="xcresample__hw_8h.html#a9f8f91473ed9544ea408ab041203f53c">XCRE_CTL_SW_EN_MASK</a>))))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a9f8f91473ed9544ea408ab041203f53c"><div class="ttname"><a href="xcresample__hw_8h.html#a9f8f91473ed9544ea408ab041203f53c">XCRE_CTL_SW_EN_MASK</a></div><div class="ttdeci">#define XCRE_CTL_SW_EN_MASK</div><div class="ttdoc">Enable mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:420</div></div>
<div class="ttc" id="group__cresample__v4__0_html_gae36d057ec512e3bf6ad23aedeca87287"><div class="ttname"><a href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCRE_CONTROL_OFFSET</div><div class="ttdoc">Control. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:74</div></div>
</div><!-- fragment -->
<p>This macro disables the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#ga538198323ff4ebdaad13c9dbd18a2c48" title="This macro disables the Chroma Resampler core. ">XCresample_Disable(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga3959dfbfb1df910ec834a2822f80ddb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_Enable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>))) | (<a class="code" href="xcresample__hw_8h.html#a9f8f91473ed9544ea408ab041203f53c">XCRE_CTL_SW_EN_MASK</a>)))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a9f8f91473ed9544ea408ab041203f53c"><div class="ttname"><a href="xcresample__hw_8h.html#a9f8f91473ed9544ea408ab041203f53c">XCRE_CTL_SW_EN_MASK</a></div><div class="ttdeci">#define XCRE_CTL_SW_EN_MASK</div><div class="ttdoc">Enable mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:420</div></div>
<div class="ttc" id="group__cresample__v4__0_html_gae36d057ec512e3bf6ad23aedeca87287"><div class="ttname"><a href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCRE_CONTROL_OFFSET</div><div class="ttdoc">Control. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:74</div></div>
</div><!-- fragment -->
<p>This macro enables the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#ga3959dfbfb1df910ec834a2822f80ddb5" title="This macro enables the Chroma Resampler core. ">XCresample_Enable(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga4b6e0fce9fca9a9a2de11d88c16c487f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRESAMPLE_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<a class="anchor" id="gaed484ae65a37d6caf256fb3583b3f869"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCRESAMPLE_HW_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a>&gt;</code></p>

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<a class="anchor" id="gaf3f4748686f455f741ad19935ab5ac26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_IntrClear</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IntrType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__cresample__v4__0.html#ga87730ba30704098d260a67036eaa6f01">XCRE_STATUS_OFFSET</a>), \</div>
<div class="line">                        ((IntrType) &amp; ((u32)(<a class="code" href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a>))))</div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="group__cresample__v4__0_html_ga87730ba30704098d260a67036eaa6f01"><div class="ttname"><a href="group__cresample__v4__0.html#ga87730ba30704098d260a67036eaa6f01">XCRE_STATUS_OFFSET</a></div><div class="ttdeci">#define XCRE_STATUS_OFFSET</div><div class="ttdoc">Status. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:75</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a97004e97b72f36a24dc2d91e19358a99"><div class="ttname"><a href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCRE_IXR_ALLINTR_MASK</div><div class="ttdoc">OR of all mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:441</div></div>
</div><!-- fragment -->
<p>This macro clears/acknowledges pending interrupts of the Cresample core in the Status register. </p>
<p>Bit positions of 1 will be cleared.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the pending interrupts to clear/acknowledge. Use OR'ing of XCRE_IXR_*_MASK constants defined in <a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a> to create this parameter value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void XCresample_IntrClear(<a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> *InstancePtr, u32 IntrType) </dd></dl>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gad3db1c393abaf5003a47b95c7399d1b7">XCresample_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf6cab4f4644f86807a3ff1c38057fb75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_IntrDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IntrType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a>))) \</div>
<div class="line">                                &amp; ((~(IntrType)) &amp; (<a class="code" href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a>))))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="group__cresample__v4__0_html_ga18c102d15e143b84399c8795212975e8"><div class="ttname"><a href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a></div><div class="ttdeci">#define XCRE_IRQ_EN_OFFSET</div><div class="ttdoc">IRQ enable. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:77</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a97004e97b72f36a24dc2d91e19358a99"><div class="ttname"><a href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCRE_IXR_ALLINTR_MASK</div><div class="ttdoc">OR of all mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:441</div></div>
</div><!-- fragment -->
<p>This macro disables individual interrupts of the Cresample core by updating the IRQ_ENABLE register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the type of the interrupts to disable. Use OR'ing of XCRE_IXR_*_MASK constants defined in <a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a> to create this parameter value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Any other interrupt not covered by parameter IntrType, if enabled before this macro is called, will remain enabled. C-style signature: void XCresample_IntrDisable(<a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> *InstancePtr, u32 IntrType) </dd></dl>

</div>
</div>
<a class="anchor" id="ga4dd2462144560958335ae4f3ca6980e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_IntrEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IntrType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a>), \</div>
<div class="line">                        (((IntrType) &amp; (<a class="code" href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a>)) | \</div>
<div class="line">                (<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a>)))))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="group__cresample__v4__0_html_ga18c102d15e143b84399c8795212975e8"><div class="ttname"><a href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a></div><div class="ttdeci">#define XCRE_IRQ_EN_OFFSET</div><div class="ttdoc">IRQ enable. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:77</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a97004e97b72f36a24dc2d91e19358a99"><div class="ttname"><a href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCRE_IXR_ALLINTR_MASK</div><div class="ttdoc">OR of all mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:441</div></div>
</div><!-- fragment -->
<p>This macro enables individual interrupts of the Cresample core by updating the IRQ_ENABLE register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the type of the interrupts to enable. Use OR'ing of XCRE_IXR_*_MASK constants defined in <a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a> to create this parameter value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The existing enabled interrupt(s) will remain enabled. C-style signature: void XCresample_IntrEnable(<a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> *InstancePtr, u32 IntrType) </dd></dl>

</div>
</div>
<a class="anchor" id="ga34d7b704fc70030c94820f5c59c764e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_IntrGetPending</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a>)) &amp; \</div>
<div class="line">                ((<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__cresample__v4__0.html#ga87730ba30704098d260a67036eaa6f01">XCRE_STATUS_OFFSET</a>))) &amp; ((u32)(<a class="code" href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a>)))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="group__cresample__v4__0_html_ga18c102d15e143b84399c8795212975e8"><div class="ttname"><a href="group__cresample__v4__0.html#ga18c102d15e143b84399c8795212975e8">XCRE_IRQ_EN_OFFSET</a></div><div class="ttdeci">#define XCRE_IRQ_EN_OFFSET</div><div class="ttdoc">IRQ enable. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:77</div></div>
<div class="ttc" id="group__cresample__v4__0_html_ga87730ba30704098d260a67036eaa6f01"><div class="ttname"><a href="group__cresample__v4__0.html#ga87730ba30704098d260a67036eaa6f01">XCRE_STATUS_OFFSET</a></div><div class="ttdeci">#define XCRE_STATUS_OFFSET</div><div class="ttdoc">Status. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:75</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a97004e97b72f36a24dc2d91e19358a99"><div class="ttname"><a href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCRE_IXR_ALLINTR_MASK</div><div class="ttdoc">OR of all mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:441</div></div>
</div><!-- fragment -->
<p>This macro returns the pending interrupts of the Cresample core for the interrupts that have been enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pending interrupts of the Chroma Resampler. Use XCRE_IXR_*_MASK constants defined in <a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a> to interpret this value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__cresample__v4__0.html#ga34d7b704fc70030c94820f5c59c764e3" title="This macro returns the pending interrupts of the Cresample core for the interrupts that have been ena...">XCresample_IntrGetPending(XCresample *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gad3db1c393abaf5003a47b95c7399d1b7">XCresample_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga270b9455b25b2c28fc69609cc5c448d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_RegUpdateDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>))) &amp; (u32)(~(<a class="code" href="xcresample__hw_8h.html#a236624032067fc6eab9b512945e4a1dc">XCRE_CTL_RUE_MASK</a>))))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="group__cresample__v4__0_html_gae36d057ec512e3bf6ad23aedeca87287"><div class="ttname"><a href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCRE_CONTROL_OFFSET</div><div class="ttdoc">Control. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:74</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a236624032067fc6eab9b512945e4a1dc"><div class="ttname"><a href="xcresample__hw_8h.html#a236624032067fc6eab9b512945e4a1dc">XCRE_CTL_RUE_MASK</a></div><div class="ttdeci">#define XCRE_CTL_RUE_MASK</div><div class="ttdoc">Register update mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:421</div></div>
</div><!-- fragment -->
<p>This macro prevents the Chroma Resampler core from committing recent changes made so far by the software. </p>
<p>When disabled, changes to other configuration registers are stored, but do not effect the behavior of the core.</p>
<p>This macro only works when the Chroma Resampler core is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#ga270b9455b25b2c28fc69609cc5c448d8" title="This macro prevents the Chroma Resampler core from committing recent changes made so far by the softw...">XCresample_RegUpdateDisable(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="gadd46d2225bcce47d5fa206321bb8cab4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_RegUpdateEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>))) | (<a class="code" href="xcresample__hw_8h.html#a236624032067fc6eab9b512945e4a1dc">XCRE_CTL_RUE_MASK</a>)))</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="group__cresample__v4__0_html_gae36d057ec512e3bf6ad23aedeca87287"><div class="ttname"><a href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCRE_CONTROL_OFFSET</div><div class="ttdoc">Control. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:74</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a236624032067fc6eab9b512945e4a1dc"><div class="ttname"><a href="xcresample__hw_8h.html#a236624032067fc6eab9b512945e4a1dc">XCRE_CTL_RUE_MASK</a></div><div class="ttdeci">#define XCRE_CTL_RUE_MASK</div><div class="ttdoc">Register update mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:421</div></div>
</div><!-- fragment -->
<p>This macro commits all the register value changes made so far by the software to the Chroma Resampler core. </p>
<p>This macro only works when the Chroma Resampler core is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#gadd46d2225bcce47d5fa206321bb8cab4" title="This macro commits all the register value changes made so far by the software to the Chroma Resampler...">XCresample_RegUpdateEnable(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga98346f522e3aed9eb5b6e7c09416cdd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_Reset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>), (<a class="code" href="xcresample__hw_8h.html#a59a892889d7e272380b3187f143e2497">XCRE_CTL_RESET_MASK</a>))</div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a59a892889d7e272380b3187f143e2497"><div class="ttname"><a href="xcresample__hw_8h.html#a59a892889d7e272380b3187f143e2497">XCRE_CTL_RESET_MASK</a></div><div class="ttdeci">#define XCRE_CTL_RESET_MASK</div><div class="ttdoc">Software reset - instantaneous mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:429</div></div>
<div class="ttc" id="group__cresample__v4__0_html_gae36d057ec512e3bf6ad23aedeca87287"><div class="ttname"><a href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCRE_CONTROL_OFFSET</div><div class="ttdoc">Control. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:74</div></div>
</div><!-- fragment -->
<p>This macro resets the Chroma Resampler core. </p>
<p>This reset effects the core immediately, and may cause image tearing.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#ga98346f522e3aed9eb5b6e7c09416cdd7" title="This macro resets the Chroma Resampler core. ">XCresample_Reset(XCresample *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga386a0f9c22e6409060fd966a66d8aa66">XCresample_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga862c5f4fbabe14d1e123362c96338d79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_Start&#160;&#160;&#160;<a class="el" href="group__cresample__v4__0.html#ga3959dfbfb1df910ec834a2822f80ddb5">XCresample_Enable</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>This macro enables/starts the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#ga862c5f4fbabe14d1e123362c96338d79" title="This macro enables/starts the Chroma Resampler core. ">XCresample_Start(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga4d1cb2f8998ad720729b08fe8f927a51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_StatusGetPending</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__cresample__v4__0.html#ga87730ba30704098d260a67036eaa6f01">XCRE_STATUS_OFFSET</a>)) &amp; (<a class="code" href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a>)</div>
<div class="ttc" id="xcresample__hw_8h_html_a383c98c6cf46b5c9e1c40124950e03e4"><div class="ttname"><a href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a></div><div class="ttdeci">#define XCresample_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:664</div></div>
<div class="ttc" id="group__cresample__v4__0_html_ga87730ba30704098d260a67036eaa6f01"><div class="ttname"><a href="group__cresample__v4__0.html#ga87730ba30704098d260a67036eaa6f01">XCRE_STATUS_OFFSET</a></div><div class="ttdeci">#define XCRE_STATUS_OFFSET</div><div class="ttdoc">Status. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:75</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a97004e97b72f36a24dc2d91e19358a99"><div class="ttname"><a href="xcresample__hw_8h.html#a97004e97b72f36a24dc2d91e19358a99">XCRE_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCRE_IXR_ALLINTR_MASK</div><div class="ttdoc">OR of all mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:441</div></div>
</div><!-- fragment -->
<p>This macro returns the pending interrupt status of the Cresample core read from the Status register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pending interrupts of the Chroma Resampler. Use XCRE_IXR_*_MASK constants defined in <a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a> to interpret this value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 XCresample_StatusGePending(XCresample *InstancePtr) </dd></dl>

</div>
</div>
<a class="anchor" id="gaaf714ddac2ad4276bc638c1ab7aacb68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_Stop&#160;&#160;&#160;<a class="el" href="group__cresample__v4__0.html#ga538198323ff4ebdaad13c9dbd18a2c48">XCresample_Disable</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>This macro disables/stops the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#gaaf714ddac2ad4276bc638c1ab7aacb68" title="This macro disables/stops the Chroma Resampler core. ">XCresample_Stop(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga56d3a5b5c6a70eaba4a4bcb1bd9d5cb7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCresample_SyncReset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>), (<a class="code" href="xcresample__hw_8h.html#a3cc43348b3242c3d57ec00b1d8a49f4b">XCRE_CTL_AUTORESET_MASK</a>))</div>
<div class="ttc" id="xcresample__hw_8h_html_a644ad0f957bb97d33f18cab706e145d5"><div class="ttname"><a href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a></div><div class="ttdeci">#define XCresample_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes into the given register. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:685</div></div>
<div class="ttc" id="xcresample__hw_8h_html_a3cc43348b3242c3d57ec00b1d8a49f4b"><div class="ttname"><a href="xcresample__hw_8h.html#a3cc43348b3242c3d57ec00b1d8a49f4b">XCRE_CTL_AUTORESET_MASK</a></div><div class="ttdeci">#define XCRE_CTL_AUTORESET_MASK</div><div class="ttdoc">Software reset - Auto-synchronize to SOF mask. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:424</div></div>
<div class="ttc" id="group__cresample__v4__0_html_gae36d057ec512e3bf6ad23aedeca87287"><div class="ttname"><a href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCRE_CONTROL_OFFSET</div><div class="ttdoc">Control. </div><div class="ttdef"><b>Definition:</b> xcresample_hw.h:74</div></div>
</div><!-- fragment -->
<p>This macro resets a Chroma Resampler core instance, but differs from <a class="el" href="group__cresample__v4__0.html#ga98346f522e3aed9eb5b6e7c09416cdd7" title="This macro resets the Chroma Resampler core. ">XCresample_Reset()</a> in that it automatically synchronizes to the SOF input of the core to prevent tearing. </p>
<p>On the next raising edge of SOF following a call to <a class="el" href="group__cresample__v4__0.html#ga56d3a5b5c6a70eaba4a4bcb1bd9d5cb7" title="This macro resets a Chroma Resampler core instance, but differs from XCresample_Reset() in that it au...">XCresample_SyncReset()</a>, all of the core's configuration registers and outputs will be reset, then the reset flag will be immediately released, allowing the core to immediately resume default operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__cresample__v4__0.html#ga56d3a5b5c6a70eaba4a4bcb1bd9d5cb7" title="This macro resets a Chroma Resampler core instance, but differs from XCresample_Reset() in that it au...">XCresample_SyncReset(XCresample *InstancePtr)</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga7d7c3bce02df7ccfa9590e00f6f34cc9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCresample_CallBack) (void *CallBackRef)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Callback type for all interrupts except error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga9bad0286c80d574d2aec5491177ed40d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCresample_ErrorCallBack) (void *CallBackRef, u32 ErrorMask)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>Callback type for Error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
    <tr><td class="paramname">ErrorMask</td><td>is a bit mask indicating the cause of the error. Its value equals 'OR'ing one or more XCRE_IXR_* values defined in <a class="el" href="xcresample__hw_8h.html">xcresample_hw.h</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga06fc87d81c62e9abb8790b6e5713c55b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>These constants specify different types of handler and used to differentiate interrupt requests from core. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga06fc87d81c62e9abb8790b6e5713c55ba2e832b1f4fcf559e0f4332335af75f41"></a>XCRE_HANDLER_PROCSTART&#160;</td><td class="fielddoc">
<p>A processing start event interrupt type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga06fc87d81c62e9abb8790b6e5713c55baa91551216aeabd02512d523ac8fb2c11"></a>XCRE_HANDLER_FRAMEDONE&#160;</td><td class="fielddoc">
<p>A frame done event interrupt type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga06fc87d81c62e9abb8790b6e5713c55ba81213bb998c9b080628d6b4ba81fba82"></a>XCRE_HANDLER_ERROR&#160;</td><td class="fielddoc">
<p>An error condition interrupt type. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga386a0f9c22e6409060fd966a66d8aa66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCresample_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_cresample___config.html">XCresample_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function initializes the Cresample core. </p>
<p>This function must be called prior to using the Cresample core. Initialization of the Cresample includes setting up the instance data and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>is a reference to a structure containing information about a specific Chroma Resampler driver. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the device base address in the virtual memory address space. The caller is responsible for keeping the address mapping from EffectiveAddr to the device physical base address unchanged once this function is invoked. Unexpected errors may occur if the address mapping changes after this function is called. If address translation is not used, pass in the physical address instead.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- XST_SUCCESS if initialization was successful.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample.html#abefa847a6c4e6024d5599a39327e7edd">XCresample::ErrCallBack</a>, <a class="el" href="struct_x_cresample.html#a52fb2b0e215f8ae565f5c5ce0d4d35d2">XCresample::FrameDoneCallBack</a>, <a class="el" href="struct_x_cresample.html#a58bae877cc325deacdd9969b1d9ba25f">XCresample::IsReady</a>, <a class="el" href="struct_x_cresample.html#adc98c821796e334385bf460c74866e62">XCresample::ProcStartCallBack</a>, and <a class="el" href="group__cresample__v4__0.html#ga98346f522e3aed9eb5b6e7c09416cdd7">XCresample_Reset</a>.</p>

</div>
</div>
<a class="anchor" id="ga1d749808d07e3987e21fb3ec7b54c3a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_Clear_HCoef_Values </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function clears all horizontal coefficients of the Chroma Resampler core which are previously set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="group__cresample__v4__0.html#gab08648fa4329ccb2f1f792c049d0d96e">XCRE_COEF00_HPHASE0_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#ga9e78a3d9d7a6101968da7f61994ca07b">XCRE_NUM_HCOEFS</a>, <a class="el" href="group__cresample__v4__0.html#ga200680a2c13a7b5fe0ebdcdd749fb529">XCRE_NUM_OF_PHASES</a>, <a class="el" href="group__cresample__v4__0.html#ga130b1722acdea90f21b4b609413f045d">XCRE_OFFSET_DIFF</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#gafe19dfb901944a21c9318301322075e6">XCresample_SetHCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="gad3c15e9a7607730c4d6bab0bff8af610"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_Clear_VCoef_Values </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function clears all vertical coefficients of a the Chroma Resampler which are previously set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="group__cresample__v4__0.html#ga7c618712800d861c59fb9deefd45a2b6">XCRE_COEF00_VPHASE0_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#ga200680a2c13a7b5fe0ebdcdd749fb529">XCRE_NUM_OF_PHASES</a>, <a class="el" href="group__cresample__v4__0.html#ga769382097198ca3b9e289c17423f4474">XCRE_NUM_VCOEFS</a>, <a class="el" href="group__cresample__v4__0.html#ga130b1722acdea90f21b4b609413f045d">XCRE_OFFSET_DIFF</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__cresample__v4__0.html#ga5f9ac7e61cd69dd5843a4a95eff0ba21">XCresample_SetVCoefs()</a>.</p>

</div>
</div>
<a class="anchor" id="gac15c402d317aea7dbcdabdae1c6d8e6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_DisableDbgBypass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function disables bypass mode of the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#aaa6df80e3d96127c39d26f776a692d67">XCRE_CTL_BPE_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga1f6adeb2af84970d6d20a70be30169dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_DisableDbgTestPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function disables debug test pattern mode in Control register of the Chroma Resampler core, if Debug feature is enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#aa66681b6d3d1c8d2d7901464355d323a">XCRE_CTL_TPE_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga930ea9583c5dd76de763fae86d6b1eff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_EnableDbgByPass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function enables the bypass mode by setting bypass bit of the Control register to switch the core to bypass mode if debug feature is enabled in the core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#aaa6df80e3d96127c39d26f776a692d67">XCRE_CTL_BPE_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga32b603c19c2afaee47a70dde41fdcaa1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_EnableDbgTestPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function enables the test-pattern mode if debug feature is enabled by setting test-pattern bit of the Control register of the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#aa66681b6d3d1c8d2d7901464355d323a">XCRE_CTL_TPE_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gad8b448647610e20e45f560ed50465d15"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_GetActiveSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16 *&#160;</td>
          <td class="paramname"><em>HSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16 *&#160;</td>
          <td class="paramname"><em>VSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function gets the number of Active Pixels per Scan line and number of Active Lines per Frame from the Active Size register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">HSize</td><td>is a pointer to 16-bit variable in which the number of Active Pixels per Scan Line is returned (Range is 32 to 7680). </td></tr>
    <tr><td class="paramname">VSize</td><td>is a pointer to 16-bit variable in which the number of Active Lines per Frame is returned (Range is 32 to 7680).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="group__cresample__v4__0.html#ga2fabb0e08576485f3f54cd1f4531024a">XCRE_ACTIVE_SIZE_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#a705f25b13c7ec6c14dbbab653e263fe6">XCRE_ACTSIZE_NUM_LINE_MASK</a>, <a class="el" href="xcresample__hw_8h.html#adea884db969de650a972cc4bd46ada60">XCRE_ACTSIZE_NUM_LINE_SHIFT</a>, <a class="el" href="xcresample__hw_8h.html#a9f98cbfc1c9126ed40145387dc779b28">XCRE_ACTSIZE_NUM_PIXEL_MASK</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga2871e4a4446a101e00ace372810342ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XCresample_GetChromaParity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the value of chroma parity of the Chroma Resampler core from Encoding register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Chroma parity value is returned.<ul>
<li>0 - Chroma information on Odd or First line.</li>
<li>1 - Chroma information on Even lines.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="xcresample__hw_8h.html#adf082abdad2a4087dd79c8e2fa86948b">XCRE_ENCODING_CHROMA_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a55f16d3c79938d89a5f0f0fa10621800">XCRE_ENCODING_CHROMA_SHIFT</a>, <a class="el" href="group__cresample__v4__0.html#ga0b1a96d8791a35a4cbb98d7be3f27b5a">XCRE_ENCODING_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gab4f2fab7cafe12c0dd55b63f8a4f9bb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCresample_GetDbgFrameCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the number of frames processed since power-up or last time the core is reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FrameCount is the number of frames processed since power-up.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#ga388982bb23871efe6833330f79b12a94">XCRE_SYSDEBUG0_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga81ee6e5159f9173134f5203f079c19d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCresample_GetDbgLineCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the number of lines processed since power-up or last time the core is reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>LineCount is the number of lines processed since power-up.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gaf943cd6552984fa4ed43ecadab6035c0">XCRE_SYSDEBUG1_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gadae07783fcaf65425e70d97648cbf04e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCresample_GetDbgPixelCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the number of pixels processed since power-up or last time the core is reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PixelCount is the number of pixels processed since power-up.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#ga46bc8755667307701c57d998f9bccbde">XCRE_SYSDEBUG2_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga3033cdcbecf61fea37bc9b1795636bf7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XCresample_GetFieldParity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the field parity value of the Chroma Resampler core from Encoding register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Field parity value is returned. 0 - for even or bottom field. 1 - for odd or top field.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="xcresample__hw_8h.html#a37fffbaea769fa911e7976283da2d7e1">XCRE_ENCODING_FIELD_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a20167cee94dcbf66c85a5390d489ffa6">XCRE_ENCODING_FIELD_SHIFT</a>, <a class="el" href="group__cresample__v4__0.html#ga0b1a96d8791a35a4cbb98d7be3f27b5a">XCRE_ENCODING_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga676b8cfd788ad69cd9c622e2a4953bed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_GetHCoefs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_horizontal___coeffs.html">XHorizontal_Coeffs</a> *&#160;</td>
          <td class="paramname"><em>Coeff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function gets the coefficient values from all the Horizontal Coefficient registers of phase0 and phase1 of the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">Coeff</td><td>is a pointer to the structure <a class="el" href="struct_x_horizontal___coeffs.html" title="The XCoeffs is a structure contains predefined fixed coefficient values for Horizontal filter of two ...">XHorizontal_Coeffs</a> which has horizontal coefficients of both phases.(Phase 0 and Phase 1) in which coefficients are updated. Range of coefficient values is [-2, 2).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>For pre defined fixed coefficients filter values, ConvertType should be set with 1. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ad7770a24b27a65e412c76feddd9d1229">XCresample_Config::ConvertType</a>, <a class="el" href="struct_x_horizontal___coeffs.html#a6cf2ea8c79713a413a7312787fe62bd7">XHorizontal_Coeffs::HCoeff</a>, <a class="el" href="group__cresample__v4__0.html#gab08648fa4329ccb2f1f792c049d0d96e">XCRE_COEF00_HPHASE0_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#ga9e78a3d9d7a6101968da7f61994ca07b">XCRE_NUM_HCOEFS</a>, <a class="el" href="group__cresample__v4__0.html#ga200680a2c13a7b5fe0ebdcdd749fb529">XCRE_NUM_OF_PHASES</a>, <a class="el" href="group__cresample__v4__0.html#ga130b1722acdea90f21b4b609413f045d">XCRE_OFFSET_DIFF</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga81bd4ca76afc9607d8cc69afeb957b5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_GetVCoefs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_vertical___coeffs.html">XVertical_Coeffs</a> *&#160;</td>
          <td class="paramname"><em>Coeff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function gets the vertical coefficient values of the Chroma Resampler core from all Vertical Coefficient registers of phase0 and phase1. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">Coeff</td><td>is a pointer to the structure <a class="el" href="struct_x_vertical___coeffs.html" title="The XCoeffs is a structure contains predefined fixed coefficient values for Vertical filter of two ph...">XVertical_Coeffs</a> which has vertical coefficients of both phases.(Phase 0 and Phase 1) in which coefficients are updated. Range of coefficient values is [-2, 2).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>For pre defined fixed coefficients filter values, ConvertType should be set with 1. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ad7770a24b27a65e412c76feddd9d1229">XCresample_Config::ConvertType</a>, <a class="el" href="struct_x_vertical___coeffs.html#a50d76f9ae24dac89df7f8c726beff8e8">XVertical_Coeffs::VCoeff</a>, <a class="el" href="group__cresample__v4__0.html#ga7c618712800d861c59fb9deefd45a2b6">XCRE_COEF00_VPHASE0_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#ga200680a2c13a7b5fe0ebdcdd749fb529">XCRE_NUM_OF_PHASES</a>, <a class="el" href="group__cresample__v4__0.html#ga769382097198ca3b9e289c17423f4474">XCRE_NUM_VCOEFS</a>, <a class="el" href="group__cresample__v4__0.html#ga130b1722acdea90f21b4b609413f045d">XCRE_OFFSET_DIFF</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga759917fbb8599a22fdfe5619ce13a3b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCresample_GetVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the version of the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Content of Version register is returned..</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="group__cresample__v4__0.html#ga50dc699fde66f657be0e8a9713f78497">XCRE_VERSION_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gad3db1c393abaf5003a47b95c7399d1b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>This function is the interrupt handler for the Chroma Resampler driver. </p>
<p>This handler reads the pending interrupt from the STATUS register, determines the source of the interrupts and calls the respective callbacks for the interrupts that are enabled in IRQ_ENABLE register, and finally clears the interrupts.</p>
<p>The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using Xcresample_SetCallBack() during initialization phase.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance that just interrupted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Interrupt interface should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample.html#abefa847a6c4e6024d5599a39327e7edd">XCresample::ErrCallBack</a>, <a class="el" href="struct_x_cresample.html#a1bbaae9b2d16e5ad3d1ef1366416b585">XCresample::ErrRef</a>, <a class="el" href="struct_x_cresample.html#a52fb2b0e215f8ae565f5c5ce0d4d35d2">XCresample::FrameDoneCallBack</a>, <a class="el" href="struct_x_cresample.html#a26110f5de12e602613247c2df75e28ca">XCresample::FrameDoneRef</a>, <a class="el" href="struct_x_cresample___config.html#a690d4849d20fb51f8feefb996f6e5c0e">XCresample_Config::HasIntcIf</a>, <a class="el" href="struct_x_cresample.html#a58bae877cc325deacdd9969b1d9ba25f">XCresample::IsReady</a>, <a class="el" href="struct_x_cresample.html#adc98c821796e334385bf460c74866e62">XCresample::ProcStartCallBack</a>, <a class="el" href="struct_x_cresample.html#a2ab4bb37fff547437c62111b3e74cafa">XCresample::ProcStartRef</a>, <a class="el" href="xcresample__hw_8h.html#a8051673328a6111720b8566bb3cf1526">XCRE_IXR_EOF_MASK</a>, <a class="el" href="xcresample__hw_8h.html#add6a498a6bc1c13fc01e91f510d342de">XCRE_IXR_PROCS_STARTED_MASK</a>, <a class="el" href="xcresample__hw_8h.html#a804ab6687773a6c4a87f1a0716000f19">XCRE_IXR_SE_MASK</a>, <a class="el" href="group__cresample__v4__0.html#gaf3f4748686f455f741ad19935ab5ac26">XCresample_IntrClear</a>, and <a class="el" href="group__cresample__v4__0.html#ga34d7b704fc70030c94820f5c59c764e3">XCresample_IntrGetPending</a>.</p>

</div>
</div>
<a class="anchor" id="gae8267377a15da7e199a393c47baf42e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCresample_IsDbgByPassEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the current bypass mode settings from Control register of the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Core debug bypass mode.<ul>
<li>TRUE = Bypass mode is enabled.</li>
<li>FALSE = Bypass mode is not enabled.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#aaa6df80e3d96127c39d26f776a692d67">XCRE_CTL_BPE_MASK</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gae8fb855ff8ece1b628d69f9cd0eebd5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCresample_IsDbgTestPatternEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function returns the test-pattern mode (enabled or not) from Control register of the Chroma Resampler core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Test-pattern generator mode.<ul>
<li>TRUE = Test-pattern mode is enabled.</li>
<li>FALSE = Test-pattern mode is not enabled.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ac64969e14beedc5a55103a4a31d5125d">XCresample_Config::HasDebug</a>, <a class="el" href="group__cresample__v4__0.html#gae36d057ec512e3bf6ad23aedeca87287">XCRE_CONTROL_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#aa66681b6d3d1c8d2d7901464355d323a">XCRE_CTL_TPE_MASK</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gababb2eeaa2d4fd6eaa6941c547c1698d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_cresample___config.html">XCresample_Config</a> * XCresample_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>This function returns a reference to an <a class="el" href="struct_x_cresample___config.html" title="This typedef contains configuration information for a Video device. ">XCresample_Config</a> structure based on the unique device id, <em>DeviceId</em>. </p>
<p>The return value will refer to an entry in the device configuration table defined in the xcresample_g.c file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device for the lookup operation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XCresample_LookupConfig returns a reference to a config record in the configuration table (in xcresample_g.c) corresponding to <em>DeviceId</em>, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="ga120e094a3de7a49d4b5e3808ad7fadd2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCresample_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>This function reads version register of Chroma Resampler core and compares with zero as part of self test. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the test is successful.</li>
<li>XST_FAILURE if the test is failed.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="group__cresample__v4__0.html#ga50dc699fde66f657be0e8a9713f78497">XCRE_VERSION_OFFSET</a>, and <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gaa92fd02ee15f7f102dde33a7b2d904d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_SetActiveSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>HSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>VSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function sets the active H/V sizes in the Active Size register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">HSize</td><td>specifies the number of Active Pixels per Scan Line that needs to be set (Range is 32 to 7680). </td></tr>
    <tr><td class="paramname">VSize</td><td>specifies the number of Active Lines per Frame that needs to be set (Range is 32 to 7680).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="group__cresample__v4__0.html#gaf63af0982f1bd962ac5a312b828c8721">XCRE_ACT_SIZE_FIRST</a>, <a class="el" href="group__cresample__v4__0.html#ga136d63a0178f60dde5ddac0364937cf4">XCRE_ACT_SIZE_LAST</a>, <a class="el" href="group__cresample__v4__0.html#ga2fabb0e08576485f3f54cd1f4531024a">XCRE_ACTIVE_SIZE_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#adea884db969de650a972cc4bd46ada60">XCRE_ACTSIZE_NUM_LINE_SHIFT</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gab0eaff626a3784bde0d6ac0b9e168992"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCresample_SetCallBack </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8h.html">xcresample.h</a>&gt;</code></p>

<p>This routine installs an asynchronous callback function for the given HandlerType: </p>
<pre>
HandlerType              Callback Function Type
-----------------------  --------------------------------------------------
XCRE_HANDLER_FRAMEDONE   FrameDoneCallBack
XCRE_HANDLER_PROCSTART   ProcStartCallBack
XCRE_HANDLER_ERROR       ErrCallBack</pre><pre></pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>specifies which callback is to be attached. </td></tr>
    <tr><td class="paramname">CallBackFunc</td><td>is the address of the callback function. </td></tr>
    <tr><td class="paramname">CallBackRef</td><td>is a user data item that will be passed to the callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS when handler is installed.</li>
<li>XST_INVALID_PARAM when HandlerType is invalid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>

<p>References <a class="el" href="struct_x_cresample.html#abefa847a6c4e6024d5599a39327e7edd">XCresample::ErrCallBack</a>, <a class="el" href="struct_x_cresample.html#a1bbaae9b2d16e5ad3d1ef1366416b585">XCresample::ErrRef</a>, <a class="el" href="struct_x_cresample.html#a52fb2b0e215f8ae565f5c5ce0d4d35d2">XCresample::FrameDoneCallBack</a>, <a class="el" href="struct_x_cresample.html#a26110f5de12e602613247c2df75e28ca">XCresample::FrameDoneRef</a>, <a class="el" href="struct_x_cresample.html#a58bae877cc325deacdd9969b1d9ba25f">XCresample::IsReady</a>, <a class="el" href="struct_x_cresample.html#adc98c821796e334385bf460c74866e62">XCresample::ProcStartCallBack</a>, <a class="el" href="struct_x_cresample.html#a2ab4bb37fff547437c62111b3e74cafa">XCresample::ProcStartRef</a>, <a class="el" href="group__cresample__v4__0.html#gga06fc87d81c62e9abb8790b6e5713c55ba81213bb998c9b080628d6b4ba81fba82">XCRE_HANDLER_ERROR</a>, <a class="el" href="group__cresample__v4__0.html#gga06fc87d81c62e9abb8790b6e5713c55baa91551216aeabd02512d523ac8fb2c11">XCRE_HANDLER_FRAMEDONE</a>, and <a class="el" href="group__cresample__v4__0.html#gga06fc87d81c62e9abb8790b6e5713c55ba2e832b1f4fcf559e0f4332335af75f41">XCRE_HANDLER_PROCSTART</a>.</p>

</div>
</div>
<a class="anchor" id="ga81bd9651d3634a4f93adc0c9aa377bd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_SetChromaParity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>ChromaParity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This functions sets the Chroma parity value of the Chroma Resampler core in the Encoding register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">ChromaParity</td><td>specifies the parity value which needs to be set.(0 or 1).<ul>
<li>0 - Chroma information on Odd or First line.</li>
<li>1 - Chroma information on Even lines.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="xcresample__hw_8h.html#adf082abdad2a4087dd79c8e2fa86948b">XCRE_ENCODING_CHROMA_MASK</a>, <a class="el" href="group__cresample__v4__0.html#ga0b1a96d8791a35a4cbb98d7be3f27b5a">XCRE_ENCODING_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#gade5ba0c5d3d48674a1353be0ef116e1a">XCRE_PARITY_EVEN</a>, <a class="el" href="group__cresample__v4__0.html#ga494cc8b60107da468cb81b91257870c4">XCRE_PARITY_ODD</a>, <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gaf88e4da9bfb514e7f31550e4763b5ff1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_SetFieldParity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>FieldParity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This functions sets the field parity value of the Chroma Resampler core in the Encoding register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">FieldParity</td><td>specifies the parity value which needs to be set.(0 or 1).<ul>
<li>0 - for even or bottom field.</li>
<li>1 - for odd or top field.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>To this feature need to use interlaced video. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#a55bc8db96f391ef59ff768278bb1a4d7">XCresample_Config::Interlaced</a>, <a class="el" href="xcresample__hw_8h.html#a37fffbaea769fa911e7976283da2d7e1">XCRE_ENCODING_FIELD_MASK</a>, <a class="el" href="group__cresample__v4__0.html#ga0b1a96d8791a35a4cbb98d7be3f27b5a">XCRE_ENCODING_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#gade5ba0c5d3d48674a1353be0ef116e1a">XCRE_PARITY_EVEN</a>, <a class="el" href="group__cresample__v4__0.html#ga494cc8b60107da468cb81b91257870c4">XCRE_PARITY_ODD</a>, <a class="el" href="xcresample__hw_8h.html#a383c98c6cf46b5c9e1c40124950e03e4">XCresample_ReadReg</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gafe19dfb901944a21c9318301322075e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_SetHCoefs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_horizontal___coeffs.html">XHorizontal_Coeffs</a> *&#160;</td>
          <td class="paramname"><em>Coeff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Phases</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function sets the horizontal coefficient values of the Chroma Resampler core for phase 0 or phase 1 or both phases. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">Coeff</td><td>is a pointer to the structure <a class="el" href="struct_x_horizontal___coeffs.html" title="The XCoeffs is a structure contains predefined fixed coefficient values for Horizontal filter of two ...">XHorizontal_Coeffs</a> which has horizontal coefficients of both phases (Phase 0 and Phase 1) which needs to be set. Range of coefficient values is [-2, 2). </td></tr>
    <tr><td class="paramname">Phases</td><td>specifies number of phases needs to be set.<ul>
<li>0 - Phase 0.</li>
<li>1 - Phase 1.</li>
<li>2 - Phase 0 and Phase 1.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>For pre defined fixed coefficients filter values, ConvertType should be set with 1. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ad7770a24b27a65e412c76feddd9d1229">XCresample_Config::ConvertType</a>, <a class="el" href="struct_x_horizontal___coeffs.html#a6cf2ea8c79713a413a7312787fe62bd7">XHorizontal_Coeffs::HCoeff</a>, <a class="el" href="struct_x_cresample___config.html#a83583af4b49a79b29959c98e20e9cc19">XCresample_Config::NumHTaps</a>, <a class="el" href="group__cresample__v4__0.html#gab08648fa4329ccb2f1f792c049d0d96e">XCRE_COEF00_HPHASE0_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#ga1ad7438e92fb57b98c26f50645a9575f">XCRE_COEF00_HPHASE1_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#a6a0413d42fb2ca474c0887652e0b28d2">XCRE_COEFF_MASK</a>, <a class="el" href="group__cresample__v4__0.html#ga200680a2c13a7b5fe0ebdcdd749fb529">XCRE_NUM_OF_PHASES</a>, <a class="el" href="group__cresample__v4__0.html#ga130b1722acdea90f21b4b609413f045d">XCRE_OFFSET_DIFF</a>, <a class="el" href="group__cresample__v4__0.html#ga1d749808d07e3987e21fb3ec7b54c3a2">XCresample_Clear_HCoef_Values()</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga5f9ac7e61cd69dd5843a4a95eff0ba21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCresample_SetVCoefs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_cresample.html">XCresample</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_vertical___coeffs.html">XVertical_Coeffs</a> *&#160;</td>
          <td class="paramname"><em>Coeff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Phases</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcresample_8c.html">xcresample.c</a>&gt;</code></p>

<p>This function sets the vertical coefficient values of the Chroma Resampler for phase 0 or for phase 1 or for both phases. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_cresample.html" title="The XCresample driver instance data structure. ">XCresample</a> instance. </td></tr>
    <tr><td class="paramname">Coeff</td><td>is a pointer to the structure <a class="el" href="struct_x_horizontal___coeffs.html" title="The XCoeffs is a structure contains predefined fixed coefficient values for Horizontal filter of two ...">XHorizontal_Coeffs</a> which has vertical coefficients of both phases (Phase 0 and Phase 1) which needs to be set. </td></tr>
    <tr><td class="paramname">Phases</td><td>specifies number of phases needs to be set.<ul>
<li>0 - Phase 0.</li>
<li>1 - Phase 1.</li>
<li>2 - Phase 0 and Phase 1.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>For pre defined fixed coefficients filter values, ConvertType should be set with 1. </dd></dl>

<p>References <a class="el" href="struct_x_cresample___config.html#a6bfcf11135bb8d32ef192e93fa984f94">XCresample_Config::BaseAddress</a>, <a class="el" href="struct_x_cresample.html#a98a033d0adce5838ea29fa3adb198182">XCresample::Config</a>, <a class="el" href="struct_x_cresample___config.html#ad7770a24b27a65e412c76feddd9d1229">XCresample_Config::ConvertType</a>, <a class="el" href="struct_x_cresample___config.html#ace9e00f898c595144dded4a166ea8b28">XCresample_Config::NumVTaps</a>, <a class="el" href="struct_x_vertical___coeffs.html#a50d76f9ae24dac89df7f8c726beff8e8">XVertical_Coeffs::VCoeff</a>, <a class="el" href="group__cresample__v4__0.html#ga7c618712800d861c59fb9deefd45a2b6">XCRE_COEF00_VPHASE0_OFFSET</a>, <a class="el" href="group__cresample__v4__0.html#ga86669b482b630a76ab12288e10cf14a1">XCRE_COEF00_VPHASE1_OFFSET</a>, <a class="el" href="xcresample__hw_8h.html#a6a0413d42fb2ca474c0887652e0b28d2">XCRE_COEFF_MASK</a>, <a class="el" href="group__cresample__v4__0.html#ga200680a2c13a7b5fe0ebdcdd749fb529">XCRE_NUM_OF_PHASES</a>, <a class="el" href="group__cresample__v4__0.html#ga130b1722acdea90f21b4b609413f045d">XCRE_OFFSET_DIFF</a>, <a class="el" href="group__cresample__v4__0.html#gad3c15e9a7607730c4d6bab0bff8af610">XCresample_Clear_VCoef_Values()</a>, and <a class="el" href="xcresample__hw_8h.html#a644ad0f957bb97d33f18cab706e145d5">XCresample_WriteReg</a>.</p>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
